package com.sinosoft.cloud.access.abc.service;

import com.sinosoft.cloud.access.annotations.AccessService;
import com.sinosoft.cloud.access.service.AccessServiceBean;
import com.sinosoft.cloud.cbs.pol.PolicyQueryService;
import com.sinosoft.cloud.rest.TradeInfo;
import org.apache.log4j.Logger;
import org.springframework.beans.factory.annotation.Autowired;


/**
 * Created by Administrator on 2017-9-15.
 */
@AccessService(name = "abc", transCode = "1016")
public class ContQueryService extends AccessServiceBean {
    private final Logger cLogger = Logger.getLogger(getClass());

    @Autowired
    PolicyQueryService policyQueryService;

    @Override
    public TradeInfo service(TradeInfo tradeInfo) {
        TradeInfo respTradeInfo;
        respTradeInfo = policyQueryService.service(tradeInfo);
        return respTradeInfo;
    }

}